package com.qst.rongxiaoserver.model.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class FinanceDto {

    private Integer bankId;
    private String ownName;
    private String realName;
    private String phone;
    private String idNum;
    private Integer status;
    @NotBlank(message = "金额不能为空")
    private BigDecimal money;
    @NotBlank(message = "利率不能为空")
    private BigDecimal rate;
    @NotBlank(message = "还款周期不能为空")
    private Integer repayment;

    // 个人贷款特有字段
    private String fileInfo;

    // 组合贷款特有字段
    private String combinationName1;  // 组合名称1
    private String combinationPhone1;    // 组合电话1
    private String combinationIdnum1;    // 组合身份证1
    private String combinationName2;    // 组合名称2
    private String combinationPhone2;    // 组合电话2
    private String combinationIdnum2;
}